View Issue Details

IDProjectCategoryView StatusLast Update
0001790K18X001.00 SKB SWANSWpublic2023-08-31 08:35
Reporter(ALTech) Sangmin Choi Assigned To(ALTech) Sangmin Choi Due Date
PrioritynormalSeveritys4-minorReproducibilityalways
Status closedResolutionfixed 
Summary0001790: I can hear very small sound through BT earphone even though I change the volume as 0.
DescriptionI can hear very small sound through BT earphone even though I change the volume as 0.

08-17 11:02:01.426 com.skb.btvsochalservice@1.0-service 371 399 E halMediaPlayer BTF|AVP_SetMediaAudioVolume|1067|IN| load volume, checkVolume : 0, checkGain : -53.000000

I think the volume table need to be modified.
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (SW) Jason Ling

Activities

(ALTech) Sangmin Choi

2023-08-17 10:16

developer   ~0013898

Hello, Jacky,

Could you please assign an engineer for this ticket?

Thank you.
Sangmin Choi.

(SW) Jerry Lin

2023-08-18 14:17

developer   ~0013909

Hi Sangmin,
I use the version 19.540.21 to check with this issue.
But i can not heard any sound from BT earphone.

It seems to set volume to volumeDb:-758.000000.
Please check with the following message.
08-18 02:04:21.631 362 955 I APM_AudioPolicyManager: setStreamVolumeIndex: set_btv_media_volume stream: 3 index : 0 device: 524288 :
08-18 02:04:21.631 362 955 I APM_AudioPolicyManager: setStreamVolumeIndex: set_btv_media_volume mExtMute: 0, mExtCC: 0
08-18 02:04:21.631 362 955 I APM_AudioPolicyManager: setStreamVolumeIndex: gain of BLUETOOTH_SCO gain volume_index : 0 gain : -53.000000
08-18 02:04:21.631 362 955 I APM_AudioPolicyManager: setStreamVolumeIndex: set_btv_media_volume stream : 3 volume_index : 0 gain : -53.000000
08-18 02:04:21.631 362 955 E APM_AudioPolicyManager: setStreamVolumeIndex: Btv not play !!! set_btv_media_volume:
08-18 02:04:21.644 362 955 I APM_AudioPolicyManager: [checkAndSetVolume] salmon outputDesc->setVolume (6065), volumeDb:-758.000000, device(524416)


I also can modify the volume table to meet the following message.
08-18 02:04:21.631 362 955 I APM_AudioPolicyManager: setStreamVolumeIndex: gain of BLUETOOTH_SCO gain volume_index : 0 gain : -758.000000

====> project: device/synaptics/sequoia
diff --git a/audio_policy_engine_stream_volumes_ai2_max.xml b/audio_policy_engine_stream_volumes_ai2_max.xml
index 9ee20af..6c58fbc 100755
--- a/audio_policy_engine_stream_volumes_ai2_max.xml
+++ b/audio_policy_engine_stream_volumes_ai2_max.xml
@@ -127,7 +127,7 @@ volume index from 0 to 100.
             <point>100,0</point>
         </volume>
         <volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
- <point>0,-5300</point>
+ <point>1,-5300</point>
             <point>33,-1800</point>
             <point>100,0</point>
         </volume>

Jerry

(ALTech) Sangmin Choi

2023-08-18 14:25

developer   ~0013910

Hello, Jerry,

If you can't hear any small sound through BT earphone, please test using BA01 RCU again.
It's same there is very small sound when I connect the earphone through BA01 RCU.

Please let me know if you still can not hear any small sound or not.

Thank you.
Sangmin Choi.

(SW) Jerry Lin

2023-08-18 15:30

developer   ~0013911

Hi Sangmin,
I hear youtube music with BA01 RCA again.
But i can not hear any sound when volune index is 0.

Jerry

(ALTech) Sangmin Choi

2023-08-18 15:50

developer   ~0013912

Last edited: 2023-08-18 15:50

Hello, Jerry,

I didn't test with Youtube and I think there is no sound in Youtube when I set the volume as 0.
Please test it with live channel.

Thank you.
Sangmin Choi.

(SW) Jerry Lin

2023-08-18 17:58

developer   ~0013915

Hi Sangmin,
I can reproduce this issue with live channel.
After apply this patch, the issue will be fixed.
I will share test FW to you.

====> project: device/synaptics/sequoia
diff --git a/audio_policy_engine_stream_volumes_ai2_max.xml b/audio_policy_engine_stream_volumes_ai2_max.xml
index 9ee20af..6c58fbc 100755
--- a/audio_policy_engine_stream_volumes_ai2_max.xml
+++ b/audio_policy_engine_stream_volumes_ai2_max.xml
@@ -127,7 +127,7 @@ volume index from 0 to 100.
             <point>100,0</point>
         </volume>
         <volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
- <point>0,-5300</point>
+ <point>1,-5300</point>
             <point>33,-1800</point>
             <point>100,0</point>
         </volume>

Jerry

(ALTech) Sangmin Choi

2023-08-21 13:11

developer   ~0013923

Hello, Jerry,

Could you please share the test firmware?
Of course, I can build it myself, but I need the SD firmware for asking test to our QA engineer.

Thank you.
Sangmin Choi.

(SW) Jerry Lin

2023-08-21 14:21

developer   ~0013924

Hi Sangmin,
Please download the test FW from ALT Server.
FW link is /release_by_fxn/swan_test_image/mantis1790/usb_bfx-ua300_V19.540.23_SD.zip

Jerry

(ALTech) Sangmin Choi

2023-08-30 16:25

developer   ~0014036

Hello, Jerry,

Our QA engineer tested the firmware and it works correctly.

Could you please apply it to 541 branch?
The BPM ticket is https://jira.skbroadband.com/browse/BPM-21578.
Please add "[BPM-21578]" to prefix of commit message.

Thank you.
Sangmin Choi.

(SW) Jerry Lin

2023-08-30 19:13

developer   ~0014042

Hi Sangmin,

done !

2023-08-30 19:12:43 | liang-chyi.lin@fii.. | 1509776 | device/synaptics/sequoia | [BPM-21578] change volume table for BT earphone

Jerry

(ALTech) Sangmin Choi

2023-08-31 08:35

developer   ~0014043

Thank you, Jerry.

Issue History

Date Modified Username Field Change
2023-08-17 10:16 (ALTech) Sangmin Choi New Issue
2023-08-17 10:16 (ALTech) Sangmin Choi Status new => assigned
2023-08-17 10:16 (ALTech) Sangmin Choi Assigned To => (SW) Jacky Chiang
2023-08-17 10:16 (ALTech) Sangmin Choi Note Added: 0013898
2023-08-17 14:50 (SW) Jason Ling Assigned To (SW) Jacky Chiang => (SW) Jerry Lin
2023-08-18 14:17 (SW) Jerry Lin Note Added: 0013909
2023-08-18 14:25 (ALTech) Sangmin Choi Note Added: 0013910
2023-08-18 15:30 (SW) Jerry Lin Note Added: 0013911
2023-08-18 15:50 (ALTech) Sangmin Choi Note Added: 0013912
2023-08-18 15:50 (ALTech) Sangmin Choi Note Edited: 0013912
2023-08-18 17:58 (SW) Jerry Lin Note Added: 0013915
2023-08-21 13:11 (ALTech) Sangmin Choi Note Added: 0013923
2023-08-21 14:21 (SW) Jerry Lin Note Added: 0013924
2023-08-22 14:19 (SW) Jason Ling Issue Monitored: (SW) Jason Ling
2023-08-30 16:25 (ALTech) Sangmin Choi Note Added: 0014036
2023-08-30 19:13 (SW) Jerry Lin Note Added: 0014042
2023-08-31 08:35 (ALTech) Sangmin Choi Note Added: 0014043
2023-08-31 08:35 (ALTech) Sangmin Choi Assigned To (SW) Jerry Lin => (ALTech) Sangmin Choi
2023-08-31 08:35 (ALTech) Sangmin Choi Status assigned => closed
2023-08-31 08:35 (ALTech) Sangmin Choi Resolution open => fixed